<%- @page_title = _('Confirm User Deletion from Group "%s" for Class %s', h(@group.name), h(@teaching.title)) -%>
<h2><%= _("Confirm user deletion from group") %></h2>
<p class="warning"><%= _("Are you sure you want to remove %s from %s?", h(@user.name), h(@group.name)) %></p>
<%- form_tag(remove_user_group_path(@project, @teaching, @group),
              :method => :delete,
              :class => 'form-small',
              :onsubmit => "Field.disable('submit-form'); Element.hide('cancel-form');") do -%>
  <div class="form"><!--O .form-->
    <%= hidden_field_tag('user_id', @user.id) %>
    <%= submit_tag(_("Remove user from group"), :class => 'button', :id => 'submit-form') %>
    <% link_to(_("&laquo; Back to the group"), group_path(@project, @teaching, @group), :id => 'cancel-form') %>
  </div><!--C .form-->
<%- end -%>